package cn.nawang.ebeim.test.domain;

import cn.nawang.ebeim.test.annotation.Column;
import cn.nawang.ebeim.test.annotation.Table;

/**
 * Created by GanJc on 2015-12-08 14:19
 */
@Table("file_info")
public class FileInfo {

    @Column("id")
    private Integer id ;

    @Column("container")
    private String container ;

    @Column("signature")
    private String signature ;

    @Column("file_path")
    private String filePath ;

    @Column("root_path")
    private String rootPath ;

    @Column("abs_path")
    private String absPath ;

    public FileInfo() {}

    public FileInfo(String container ,String signature ,String filePath, String rootPath, String absPath) {
        this.container = container;
        this.signature = signature;
        this.filePath = filePath;
        this.rootPath = rootPath;
        this.absPath = absPath;
    }

    public String getContainer() {
        return container;
    }

    public void setContainer(String container) {
        this.container = container;
    }

    public String getSignature() {
        return signature;
    }

    public void setSignature(String signature) {
        this.signature = signature;
    }

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    public String getRootPath() {
        return rootPath;
    }

    public void setRootPath(String rootPath) {
        this.rootPath = rootPath;
    }

    public String getAbsPath() {
        return absPath;
    }

    public void setAbsPath(String absPath) {
        this.absPath = absPath;
    }

    @Override
    public String toString() {
        return "FileInfo{" +
                "id=" + id +
                ", signature='" + signature + '\'' +
                ", filePath='" + filePath + '\'' +
                ", rootPath='" + rootPath + '\'' +
                ", absPath='" + absPath + '\'' +
                '}';
    }
}
